package com.rd.teacher.jichao.day22;

public class Example1 {
    static int[] arr = new int[3];

    static {
        arr[0] = 3;
    }

    public static void main(String[] args) {
        increment(arr, 5);
        System.out.println(arr[0]);
    }

    static void increment(int[] n, int m) {
        n[0] = m;
    }

}